package br.com.upper.entity;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.SequenceGenerator;

@Entity
@SequenceGenerator(name="SEQUENCE",sequenceName="SEQ_TEST_RESULT",initialValue=1,allocationSize=1)
public class TestResult extends EntityBase {

	private String testerName;
	
	private Date initTimestamp;
	
	private Date endTimestamp;
	
	private Long totalTime;
	
	private Long configurationTime;
	
	private Long testTime;
	
	@ManyToOne
	private InstanceType instanceTypePropposed;
		
	private VolumeType volumeTypePropposed;
	
	private Long provisionedIOPsProppoed;

	@ManyToOne
	private InstanceType instanceType;
		
	private VolumeType volumeType;
	
	private Long provisionedIOPs;

	public String getTesterName() {
		return testerName;
	}

	public void setTesterName(String testerName) {
		this.testerName = testerName;
	}

	public Date getInitTimestamp() {
		return initTimestamp;
	}

	public void setInitTimestamp(Date initTimestamp) {
		this.initTimestamp = initTimestamp;
	}

	public Date getEndTimestamp() {
		return endTimestamp;
	}

	public void setEndTimestamp(Date endTimestamp) {
		this.endTimestamp = endTimestamp;
	}

	public Long getTotalTime() {
		return totalTime;
	}

	public void setTotalTime(Long totalTime) {
		this.totalTime = totalTime;
	}

	public Long getConfigurationTime() {
		return configurationTime;
	}

	public void setConfigurationTime(Long configurationTime) {
		this.configurationTime = configurationTime;
	}

	public Long getTestTime() {
		return testTime;
	}

	public void setTestTime(Long testTime) {
		this.testTime = testTime;
	}

	public InstanceType getInstanceTypePropposed() {
		return instanceTypePropposed;
	}

	public void setInstanceTypePropposed(InstanceType instanceTypePropposed) {
		this.instanceTypePropposed = instanceTypePropposed;
	}

	public VolumeType getVolumeTypePropposed() {
		return volumeTypePropposed;
	}

	public void setVolumeTypePropposed(VolumeType volumeTypePropposed) {
		this.volumeTypePropposed = volumeTypePropposed;
	}

	public Long getProvisionedIOPsProppoed() {
		return provisionedIOPsProppoed;
	}

	public void setProvisionedIOPsProppoed(Long provisionedIOPsProppoed) {
		this.provisionedIOPsProppoed = provisionedIOPsProppoed;
	}

	public InstanceType getInstanceType() {
		return instanceType;
	}

	public void setInstanceType(InstanceType instanceType) {
		this.instanceType = instanceType;
	}

	public VolumeType getVolumeType() {
		return volumeType;
	}

	public void setVolumeType(VolumeType volumeType) {
		this.volumeType = volumeType;
	}

	public Long getProvisionedIOPs() {
		return provisionedIOPs;
	}

	public void setProvisionedIOPs(Long provisionedIOPs) {
		this.provisionedIOPs = provisionedIOPs;
	}	
	
}
